package com.fangcun.mapper;

import java.util.List;

import com.fangcun.bean.api.order.request.OrderCardRequest;
import com.fangcun.bean.api.order.response.OrderCardResponse;
import com.fangcun.entity.OrderCardNumber;

public interface OrderCardNumberMapper {

	int deleteByPrimaryKey(Long id);

	int insert(OrderCardNumber record);

	int insertSelective(OrderCardNumber record);

	OrderCardNumber selectByPrimaryKey(Long id);

	int updateByPrimaryKeySelective(OrderCardNumber record);

	int updateByPrimaryKey(OrderCardNumber record);

	List<OrderCardResponse> selectByDetailId(Long orderDetailId);

	List<OrderCardNumber> selectByIds(List<Long> ids);

	int updateStatusByIds(List<Long> ids);

	List<OrderCardResponse> select(OrderCardRequest request);

	OrderCardNumber selectByCardNumber(String cardNumber);

	/** 后台查询卡号 **/
	List<OrderCardNumber> listForAdmin(OrderCardNumber request);
}
